package com.wuzihao.disk.Recycle.entity;

import com.wuzihao.disk.mybatis.annotation.Columns;
import java.time.LocalDateTime;

public class FileEntity {
    @Columns("file_uuid")
    private String fileId;

    @Columns("file_name")
    private String fileName;

    @Columns("file_capacity")
    private String fileSize;

    @Columns("file_path")
    private String fullPath;

    @Columns("user_uuid")
    private String uploader;

    @Columns("delete_time")
    private LocalDateTime deleteTime;

    @Columns("file_type")
    private Integer fileType;

    // getter和setter方法
    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileSize() {
        return fileSize;
    }

    public void setFileSize(String fileSize) {
        this.fileSize = fileSize;
    }

    public String getFullPath() {
        return fullPath;
    }

    public void setFullPath(String fullPath) {
        this.fullPath = fullPath;
    }

    public String getUploader() {
        return uploader;
    }

    public void setUploader(String uploader) {
        this.uploader = uploader;
    }

    public LocalDateTime getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(LocalDateTime deleteTime) {
        this.deleteTime = deleteTime;
    }

    public Integer getFileType() {
        return fileType;
    }

    public void setFileType(Integer fileType) {
        this.fileType = fileType;
    }

    @Override
    public String toString() {
        return "FileEntity{" +
                "fileId='" + fileId + '\'' +
                ", fileName='" + fileName + '\'' +
                ", fileSize='" + fileSize + '\'' +
                ", fullPath='" + fullPath + '\'' +
                ", uploader='" + uploader + '\'' +
                ", deleteTime=" + deleteTime +
                ", fileType=" + fileType +
                '}';
    }
}
